package edu.fdzc.learn.mapper;

import edu.fdzc.learn.entity.HomeSub;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HomeSubMapper {

    void insert(HomeSub homeSub);

    void update(HomeSub homeSub);

    HomeSub findBySId(int studentId);

    List<HomeSub> findAll(int homeworkId);
}
